#include <stdio.h>

int main()
{
struct DateType//声明数据结构类型//
	{
	int year;
	int month;
	int day;	
	};
struct StudentType//声明结构类型//
	{
		int number;//学号//
		char*name;//姓名//
		char sex[3];
		struct DateType birthday;
		float score; 
	 } ;
	 struct StudentType student=
	 {
	 	2037,
	 	"袁逸雄",
		 "男",
		 {1998,4,18 },
		 66.6 
	 };
	 printf("学号\t");
	 printf("姓名\t");
	 printf("性别\t");
	 printf("生日\t\t");
	 printf("成绩\n");
	 printf("%-7d ",student.number);
	 printf("%-6s  ",student.name);
	 printf("%-6s  ",student.sex);
	 printf("%-4d年%d月%d日   ",student.birthday.year,student.birthday.month,student.birthday.day) ;
	 printf("%4.1f",student.score);
	 return 0;
	  } 